package com.example.service;

import com.example.common.Page;
import com.example.common.PageQueryParam;
import com.example.entity.TUserEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface TUserService {

    List<TUserEntity> selectAll();

    Integer loginChecking(TUserEntity user, HttpServletResponse response);

    Page<TUserEntity> queryPage(PageQueryParam<TUserEntity> pageQueryParam);

    void delete(Integer id);

    void create(TUserEntity userEntity);
}

